﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IDotNet.MapLibs.Web.Model;

namespace IDotNet.MapLibs.Web
{
    /// <summary>
    /// 在地图上标注点负责的范围区域
    /// </summary>
    public interface IMapDrawArea
    {

        /// <summary>
        /// 获取请求参数
        /// </summary>
        /// <returns></returns>
        MapDrawAreaRequestModel GetRequestParam();

        /// <summary>
        /// 检查请求参数有没有问题
        /// </summary>
        /// <param name="request"></param>
        /// <param name="errMsg"></param>
        /// <returns></returns>
        bool CheckRequestParam(MapDrawAreaRequestModel request, out string errMsg);

        /// <summary>
        /// 标注点负责的范围区域
        /// </summary>
        /// <returns></returns>
        MapDrawAreaResultModel MapDrawArea();
    }
}
